<template>
  <div class="body">
    <headerView  ref="header" systemName="课表管理系统"/>
    <el-container>
      <leftScheduleMenu ref="leftView" />
      <keep-alive>
         <router-view></router-view>
      </keep-alive>
    </el-container>
  </div>
  </template>
  <script >
  import headerView from "@/components/header.vue";
  import leftScheduleMenu from "@/components/schedule/leftScheduleMenu.vue";
  
  export default {
    name: "Index",
    components: {
      headerView,
      leftScheduleMenu,
    },
    data() {
      return {
      };
    },
    mounted() {
      // this.$refs.header.systemName="人员考勤系统";
      this.$refs.header.homeIndexName = "scheduleIndexView";
    },
    methods: {
      openOrClose(){
        this.$refs.leftPadMenu.openOrClose()
      },
   
    },
  };
  </script>
  <style scoped>
  .body{
  background: white;
  }
  </style>
  
  